package com.woniuxy.feign;

import com.woniuxy.dto.MyDto;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient("pay-service")//微服务名字
public interface Feigntest {
    @RequestMapping("/test")
    public String test();

    @RequestMapping(value="/zhuan", method= RequestMethod.GET)
    public MyDto zhuan(@RequestParam("out_biz_no")String out_biz_no,@RequestParam("payee_account") String payee_account, @RequestParam("payee_real_name")String payee_real_name, @RequestParam("amount") String amount);
}
